package com.lxmes.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 供应商与物料对应关系对象 jc_supplier_item
 * 
 * @author 王超
 * @date 2022-08-21
 */
public class JcSupplierItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private Long supplyId;

    /** 物料号 */
    @Excel(name = "物料号")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplyName", getSupplyName())
            .append("supplyId", getSupplyId())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .toString();
    }
}
